<%--
  Created by IntelliJ IDEA.
  User: Wenxin
  Date: 2017/3/9
  Time: 11:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../base/commons.jsp" %>
<html>
<head>
    <%@include file="../base/head.jsp" %>
    <title>请登录</title>
    <style type="text/css">
        body {
            background: #eee;
        }

        form {
            padding-top: 40px;
        }

        .errorInfo {
            color: #ff0000;
        }
    </style>
</head>
<body>

<div class="container">
    <form action="${baseUrl}user/add" class="col-md-4 col-md-offset-4" method="post">
        <h2 class="">请输入</h2>
        <div class="form-group form-group-lg">
            <label for="userCode" class="control-label sr-only">用户名</label>
            <input id="userCode" type="text" name="username" class="form-control" placeholder="用户名">
            <label for="password" class="control-label sr-only">密码</label>
            <input id="password" type="password" name="password" class="form-control" placeholder="密码">
        </div>
        <div class="">
            <label class="label-danger">${errorInfo}</label>
        </div>
        <div class="form-group">
            <button type="submit" class="btn btn-default btn-primary btn-block btn-lg">添 加</button>
        </div>
    </form>
</div>

</body>
</html>
